#ifndef CLAVEVARIABLE_H_
#define CLAVEVARIABLE_H_

#include "../Clave.h"

namespace Toolkit
{

class ClaveVariable : public Clave
{
public:
	ClaveVariable(const unsigned long int &tamano, const char &primeraLetra);
	virtual ~ClaveVariable();
	
	virtual void serializar(stringstream&) const;
    virtual void hidratar(stringstream &);
    
    virtual bool operator == (const Clave&) const;
    virtual bool operator == (const Dato&) const;

    virtual bool operator < (const Clave &) const;
    virtual bool operator < (const Dato &) const;    
    
    virtual Clave* clonar() const;
    
    virtual Clave* crearDesdeDato(const Dato&) const;

    char getLetra() const;
	

private:
	unsigned long int tamano;
	char primeraLetra;

	
};

}

#endif /*CLAVEVARIABLE_H_*/
